<%--
  Created by IntelliJ IDEA.
  User: 13585
  Date: 2020/12/23
  Time: 21:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="layui/css/layui.css">
    <link rel="stylesheet" href="css/index.css">
</head>
<body>
<div id="addmeeting">
    <form class="layui-form" action="modifyMeeting">
        <input style="display: none" type="text" name="id" value="${meeting.id}">
        <div class="layui-form-item">
            <label class="layui-form-label">会议室名称</label>
            <div class="layui-input-block">
                <input type="text" name="name" value="${meeting.name}" required  lay-verify="required" placeholder="请填写会议室名称" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">座位数</label>
            <div class="layui-input-block">
                <input type="text" name="num" value="${meeting.num}" required  lay-verify="required" placeholder="请填写座位数" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否可用</label>
            <div class="layui-input-block">
                <select name="status" lay-verify="">
                    <option value="可使用">可使用</option>
                    <option value="不可使用">不可使用</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">地址</label>
            <div class="layui-input-block">
                <input type="text" name="address" value="${meeting.address}" required  lay-verify="required" placeholder="请填写地址" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <input type="text" name="remarks" value="${meeting.remarks}" required  lay-verify="required" placeholder="请简短描述一下会议室信息" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formDemo">修改</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>
    <script type="text/javascript" src="layui/layui.js"></script>
<script>
    layui.use('form', function(){
        var form = layui.form;
        form.render();
    });
</script>
</body>
</html>
